package com.lagou.M2Homework.Phones;

public class CellPhoneTest {
    public static void main(String[] args) {
        // 1、测试老手机
        OldPhone op = new OldPhone();
        op.call();
        op.sendMessage();

        // 2、测试新手机
        NewPhone np = new NewPhone();
        np.call();
        np.sendMessage();
        np.playGame();
    }
}
